package com.vichat.gps.service;

import com.vichat.gps.entity.AlarmLog;
import com.vichat.gps.entity.LocationData;
import com.vichat.gps.entity.LocationDataLog;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by 82116 on 2018/2/24.
 */
public interface IGpsService {


    /**
     * 保存gps定位信息
     * @param locData
     * @throws Exception
     */
    public void saveLocationData(LocationData locData) throws Exception;


    /**
     * 获取所有人员当天定位信息
     * @param queryBean
     * @return
     * @throws Exception
     */
    public List<LocationDataLog> queryLocationDatas(LocationData queryBean,Date startDate, Date endDate) throws Exception;

    /**
     * 获取人员轨迹信息
     * @param uid
     * @return
     * @throws Exception
     */
    public List<LocationData> getLocationDatasByUid(long uid,String date) throws Exception;

    public void saveBatchLocation(List<LocationData> datas );

}
